package be.tf.freemaind.model;

import java.sql.Date;

public class Post {
	private long idpost;
	private String title;
	private String file;
	private  String description;
	private  Date sdate;
	private  Date pdate;
	private  long User_iduser;
	private  long Category_idCategory;
	private  long clef_idclef;
	
	private Category category;
	private Clef clef;
	
	
	public Post() {
		super();
	}
	public Post(long idpost, String title, String file, String description,
			Date sdate, Date pdate, long user_iduser, long category_idCategory,
			long clef_idclef) {
		super();
		this.idpost = idpost;
		this.title = title;
		this.file = file;
		this.description = description;
		this.sdate = sdate;
		this.pdate = pdate;
		this.User_iduser = user_iduser;
		this.Category_idCategory= category_idCategory;
		this.clef_idclef = clef_idclef;
	}
	public long getIdpost() {
		return idpost;
	}
	public void setIdpost(long idpost) {
		this.idpost = idpost;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getFile() {
		return file;
	}
	public void setFile(String file) {
		this.file = file;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getSdate() {
		return sdate;
	}
	public void setSdate(Date sdate) {
		this.sdate = sdate;
	}
	public Date getPdate() {
		return pdate;
	}
	public void setPdate(Date pdate) {
		this.pdate = pdate;
	}
	public long getUser_iduser() {
		return User_iduser;
	}
	public void setUser_iduser(long user_iduser) {
		User_iduser = user_iduser;
	}
	public long getCategory_idCategory() {
		return Category_idCategory;
	}
	public void setCategory_idCategory(long category_idCategory) {
		Category_idCategory = category_idCategory;
	}
	public long getClef_idclef() {
		return clef_idclef;
	}
	public void setClef_idclef(long clef_idclef) {
		this.clef_idclef = clef_idclef;
	}
	public Category getCategory() {
		return category;
	}
	public void setCategory(Category category) {
		this.category = category;
	}
	public Clef getClef() {
		return clef;
	}
	public void setClef(Clef clef) {
		this.clef = clef;
	}
	
}
